ahci: Make ahci_port_base() non-static to enable overwrite
authorStefan Roese <[email protected]>
Wed, 31 Aug 2016 08:02:15 +0000 (10:02 +0200)
committerStefan Roese <[email protected]>
Tue, 27 Sep 2016 15:29:54 +0000 (17:29 +0200)
commit22f5de6b5cf381acf63b49655cb3d7cb5bf684ab
treead4650536eba1a721455a17864a1b433bff1bad0
parentd36277ef4f5b297e5d404d1ad19123b02dc539d1
ahci: Make ahci_port_base() non-static to enable overwrite

To allow a board- / platform-specific ahci_port_base() function, this
patch removes "static inline" and adds __weak to this function. This
will be used by the upcoming Armada 7K/8K SATA / AHCI support, which
unfortunately needs a different port base address calculation.

Signed-off-by: Stefan Roese <[email protected]>
Cc: Nadav Haklai <[email protected]>
Cc: Neta Zur Hershkovits <[email protected]>
Cc: Kostya Porotchkin <[email protected]>
Cc: Omri Itach <[email protected]>
Cc: Igal Liberman <[email protected]>
Cc: Haim Boot <[email protected]>
Cc: Hanna Hawa <[email protected]>
drivers/block/ahci.c